<ul class='page-list'  ui-sortable ng-model="pages">
    <li ng-repeat='i in pages' ng-click="onPageChange($index)" ng-class="{currentIndex: thisPageIndex == $index}">

        <span class="number"><em>{{$index+1}}</em></span>
        <span class="del-page glyphicon glyphicon-remove" ng-click="onPageDel($index,$event)"></span>
    </li>
</ul>
<div class="addPageBtn" ng-click='addpage()'  style="position:absolute; bottom:0; width:100%;">
    <button type="button" class="btn btn-success btn-lg btn-block" style="border-radius:0;">添加一页</button>
</div>
